package com.linktrip.devicemanager.entity;

public class Upgrade extends BaseEntity {

	/**
	 * @date 2017/02/15
	 * @author CaineZhu
	 */
	private static final long serialVersionUID = -4116950313685941522L;

	private int id;
	private String swName;// 软件名
	private int swVersion;// 软件版本
	private int swHwVersion;// 硬件版本
	private int swIdStart;// 开始段
	private int swIdEnd;// 结束段
	private int enable;// 是否禁用
	private String targetPath;
	private int total;// 总包数
	private String remark;// 备注

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getSwName() {
		return swName;
	}

	public void setSwName(String swName) {
		this.swName = swName;
	}

	public int getSwVersion() {
		return swVersion;
	}

	public void setSwVersion(int swVersion) {
		this.swVersion = swVersion;
	}

	public int getSwHwVersion() {
		return swHwVersion;
	}

	public void setSwHwVersion(int swHwVersion) {
		this.swHwVersion = swHwVersion;
	}

	public int getSwIdStart() {
		return swIdStart;
	}

	public void setSwIdStart(int swIdStart) {
		this.swIdStart = swIdStart;
	}

	public int getSwIdEnd() {
		return swIdEnd;
	}

	public void setSwIdEnd(int swIdEnd) {
		this.swIdEnd = swIdEnd;
	}

	public int getEnable() {
		return enable;
	}

	public void setEnable(int enable) {
		this.enable = enable;
	}

	public String getTargetPath() {
		return targetPath;
	}

	public void setTargetPath(String targetPath) {
		this.targetPath = targetPath;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	public String toString() {
		return "Upgrade [id=" + id + ", swName=" + swName + ", swVersion=" + swVersion + ", swHwVersion=" + swHwVersion
				+ ", swIdStart=" + swIdStart + ", swIdEnd=" + swIdEnd + ", enable=" + enable + ", targetPath="
				+ targetPath + ", total=" + total + ", remark=" + remark + "]";
	}

}
